package com.sunnuwell.demo.service;

import com.sunnuwell.demo.common.exception.AdException;
import com.sunnuwell.demo.common.vo.CommonResponse;
import com.sunnuwell.demo.entity.Resource;
import com.sunnuwell.demo.vo.ResourceVo;

import java.util.List;

public interface ResourceService {

    List<Resource> getAllResource();

    String addResource(ResourceVo resource) throws AdException;

    String deleteResource(ResourceVo resourceVo) throws AdException;
}
